package cn.wolfcode.cms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class NumCharge {
    private Long id;
    //操作号
    private Long opnum;
    private Product service;

    private Integer card_num;

    private Integer oldnum;

    private Integer addnum;

    private Integer newnum;

    private Long pay_id;

    private BigDecimal paybalance;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date paytime;

}